﻿using BlazorAdmin.Services.DbService;
using Pangeo.Admin.Interface.BussinessDb;
using Pangeo.Admin.Models.BaBizDb.Entity;

namespace Pangeo.Admin.Services.BaBizDb
{
    public class QrqcService : BaBizDbService, IQrqc
    {
        public QrqcService(ISqlSugar db) : base(db) { }

        public List<QrqcEmailUser> GetAllUsers()
        {
            var db = Create();
            var users = db.Queryable<QrqcEmailUser>().Where(t => t.IsDeleted == false).ToList();

            return users;
        }
    }
}
